package com.esdk.interfaces;

import com.esdk.esdk;

public interface Callback3<T0,T1,T2> {
  void call(T0 t0,T1 t1,T2 t2) throws Exception;

  default void invoke(T0 t0,T1 t1,T2 t2) {
    try{
      call(t0,t1,t2);
    }catch (Exception e){
      throw esdk.tool.wrapThrowble(e);
    }
  }
}
